package com.um.jdy.platform.device.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class SetPBParamsDTO {

    /**
     * code
     */
    @ApiModelProperty(value = "code", required = true)
    @NotNull
    private String code;

    /**
     * 心跳间隔时间(秒)
     */
    @ApiModelProperty(value = "heart", required = true)
    @NotNull
    private int heart;

    /**
     * 端口上报间隔时间(分)
     */
    @ApiModelProperty(value = "portHeart", required = true)
    @NotNull
    private int portHeart;
}
